import request from '@/utils/request'

export function getPage(query) {
  return request({
    url: '/web-api/base/stopProduction/listPage',
    method: 'get',
    params: query
  })
}
export function getById(id) {
  return request({
    url: '/web-api/base/stopProduction/' + id,
    method: 'get'
  })
}
export function add(data) {
  return request({
    url: '/web-api/base/stopProduction',
    method: 'post',
    data
  })
}
export function edit(data) {
  return request({
    url: '/web-api/base/stopProduction',
    method: 'put',
    data
  })
}
export function del(ids) {
  return request({
    url: '/web-api/base/stopProduction/' + ids,
    method: 'delete'
  })
}
